package main;

import java.util.LinkedList;
import java.util.List;

import xmlGenerator.ParseResponse;
import xmlGenerator.ParserXML;

public class Main {

	
	public static void main(String[] args) {
		
		
		PostXML pxml = new PostXML();
		
		String s="";
		
		//Generate the XML
        List<String> titles = new LinkedList<String>();
		titles.add("Automated...");
		titles.add("Generator...");
		
		Boolean cites = true;
		Boolean related = true;
		
		try {
			pxml.readAndPost(titles,cites,related);
			
			ParseResponse parserxml = new ParseResponse();
			parserxml.printData();
			
			
		} catch (Exception e) {
			
			e.printStackTrace();
		}
		

	}

}
